from random import *  # 使用randint需要加上这句
a = []  # 列表
for i in range(10):
    a.append(randint(0, 100))
for j in range(10):
    print(a[j], end='')
print()
print(min(a))
a.sort()
print(a)
a.reverse()
print(a)
a.sort(reverse=True)
print(a)
